package com.leyou.search.dto;

import java.time.Duration;
import java.time.temporal.ChronoUnit;

/**
 * @author 虎哥
 */
public class Demo2 {

    public static void main(String[] args) {
        Duration duration = Duration.of(10, ChronoUnit.SECONDS);
    }
}
